package com.example.enterprise.dao;

import com.example.enterprise.entity.RiskLedger;
import com.example.enterprise.entity.RiskLedgerExample;
import com.example.enterprise.entity.RiskLedgerWithBLOBs;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RiskLedgerMapper {
    long countByExample(RiskLedgerExample example);

    int deleteByExample(RiskLedgerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RiskLedgerWithBLOBs record);

    int insertSelective(RiskLedgerWithBLOBs record);

    List<RiskLedgerWithBLOBs> selectByExampleWithBLOBs(RiskLedgerExample example);

    List<RiskLedger> selectByExample(RiskLedgerExample example);

    RiskLedgerWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RiskLedgerWithBLOBs record, @Param("example") RiskLedgerExample example);

    int updateByExampleWithBLOBs(@Param("record") RiskLedgerWithBLOBs record, @Param("example") RiskLedgerExample example);

    int updateByExample(@Param("record") RiskLedger record, @Param("example") RiskLedgerExample example);

    int updateByPrimaryKeySelective(RiskLedgerWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(RiskLedgerWithBLOBs record);

    int updateByPrimaryKey(RiskLedger record);
}